package com.lzh.service;

import com.lzh.domain.vo.UserVO;
import com.lzh.utils.ResponseResult;
import me.zhyd.oauth.model.AuthResponse;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface AuthLoginService {
    void login(HttpServletResponse response, String source, AuthResponse authResponse,String code) throws IOException;

    ResponseResult<UserVO> getUserInfo(String token);


    /**
     * 用户登录缓存token
     * @param uuid
     * @return
     */
    String userLogin(Long uuid);

    public void testAsync2();
    public void testAsync();

    Boolean verify(String token);
}
